#!/usr/bin/env node

const fs       = require('fs'),
      fileName = process.argv[2], 
      log      = console.log;

fs.readFile(fileName,(err,data)=>{

  if(err){
    log(err.message);
  }else{
    log(data.toString('utf8'));
  } 
});

//log(fileName);
log('01-my-cat-async');
